package com.excilys.webservice.rest;

import javax.ws.rs.PathParam;

import com.excilys.dto.UserDTO;

/**
 * Interface for REST WebService. Persists user and transferTransaction in
 * database
 * 
 * @author excilys dev : SC, VP
 * 
 */
public interface IRestWebService {

	UserDTO getUserByLogin(@PathParam("login") String login);

	void persistUserDTO(@PathParam("userDTOFirstName") String userDTOFirstName, @PathParam("userDTOLastName") String userDTOLastName,
			@PathParam("userDTOLogin") String userDTOLogin);

	void persistTransferTransaction(@PathParam("sourceAccountName") String sourceAccountName, @PathParam("targetAccountName") String targetAccountName,
			@PathParam("transferAmount") double transferAmount);

}